package com.itheima.TestBreeder;

public class Frog extends Animal implements Swimming {

    public Frog() {
    }

    public Frog(int age) {
        super(age);
    }

    @Override
    public void eat() {
        System.out.println("吃虫子");
    }

    @Override
    public void swimming() {
        System.out.println("蛙泳");
    }
}
